package com.mdz.nc.Entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 孟德志
 * @since 2020-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ks_wjdc")
public class KsWjdc extends Model<KsWjdc> {

    private static final long serialVersionUID=1L;

    /**
     * 问题编号
     */
    @TableId(value = "wjdc_id", type = IdType.AUTO)
    private Integer wjdcId;

    /**
     * 题型
     */
    @TableField("wjdcs")
    private String wjdcs;

    /**
     * 题目
     */
    @TableField("wjdc")
    private String wjdc;

    /**
     * 选项A
     */
    @TableField("optional_a")
    private String optionalA;

    /**
     * 选项B
     */
    @TableField("optional_b")
    private String optionalB;

    /**
     * 选项C
     */
    @TableField("optional_c")
    private String optionalC;

    /**
     * 选项D
     */
    @TableField("optional_d")
    private String optionalD;

    /**
     * 选项E
     */
    @TableField("optional_e")
    private String optionalE;

    /**
     * 选项F
     */
    @TableField("optional_f")
    private String optionalF;

    /**
     * 选项G
     */
    @TableField("optional_g")
    private String optionalG;

    /**
     * 选项H
     */
    @TableField("optional_h")
    private String optionalH;

    /**
     * 选项I
     */
    @TableField("optional_i")
    private String optionalI;

    /**
     * 选项J
     */
    @TableField("optional_j")
    private String optionalJ;

    /**
     * 选项K
     */
    @TableField("optional_k")
    private String optionalK;

    /**
     * 选项L
     */
    @TableField("optional_l")
    private String optionalL;

    /**
     * 选项M
     */
    @TableField("optional_m")
    private String optionalM;

    /**
     * 选项N
     */
    @TableField("optional_n")
    private String optionalN;

    /**
     * 选项O
     */
    @TableField("optional_o")
    private String optionalO;


    @Override
    protected Serializable pkVal() {
        return this.wjdcId;
    }

}
